package com.ruoyi.workbench.mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import com.ruoyi.workbench.domain.WorkMatterSummary;
import com.ruoyi.workbench.dto.MatterSummary;

/**
 * 事项总结Mapper接口
 * 
 * @author Guojl
 * @date 2024-07-06
 */
public interface WorkMatterSummaryMapper 
{
    /**
     * 查询事项总结
     * 
     * @param workSummaryId 事项总结主键
     * @return 事项总结
     */
    public WorkMatterSummary selectWorkMatterSummaryByWorkSummaryId(Long workSummaryId);

    /**
     * 查询事项总结列表
     * 
     * @param workMatterSummary 事项总结
     * @return 事项总结集合
     */
    public List<MatterSummary> selectWorkMatterSummaryList(WorkMatterSummary workMatterSummary);

    /**
     * 新增事项总结
     * 
     * @param workMatterSummary 事项总结
     * @return 结果
     */
    public int insertWorkMatterSummary(WorkMatterSummary workMatterSummary);

    /**
     * 修改事项总结
     * 
     * @param workMatterSummary 事项总结
     * @return 结果
     */
    public int updateWorkMatterSummary(WorkMatterSummary workMatterSummary);

    /**
     * 删除事项总结
     * 
     * @param workSummaryId 事项总结主键
     * @return 结果
     */
    public int deleteWorkMatterSummaryByWorkSummaryId(Long workSummaryId);

    /**
     * 批量删除事项总结
     * 
     * @param workSummaryIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWorkMatterSummaryByWorkSummaryIds(Long[] workSummaryIds);

    List<WorkMatterSummary> selectAllByWorkMatterId(@Param("workMatterId") Integer workMatterId);
}
